package com.dayuanit.dy16.atm.service;

import com.dayuanit.dy16.atm.dto.FlowDTO;

import java.util.List;

public interface IRedisService {

    List<FlowDTO> queryTop10Flow(long userId);

    void saveTop10Flow(long userId, List<FlowDTO> flows);

    void expireKey(String key, int ttl);
}
